package com.dao;

import com.bean.Enterprise;

import java.util.List;

public interface EnterpriseDao {

   public Enterprise queryEnterpriseByEnterpriseidAndPassword(String enterpriseid, String password);

   public int saveEnterprise(Enterprise enterprise);

   public Enterprise queryEnterpriseByEnterpriseid(String enterpriseid);

   public Enterprise existsEnterpriseid(String enterpriseid);

    public int updatePass(String enterpriseid, String password);

    public int updateMess(String enterpriseid, String enterprise_name, String relname, String telephone, String address);

    public int updatePhoto(String enterpriseid, String head_sculpture);

    public int delete(String enterpriseid);

   public Integer queryForPageTotalCount();

   public List<Enterprise> queryForPageItem(int begin, int pageSize);

   public Enterprise showMess(String enterpriseid);
}
